import java.util.Comparator;
import java.util.Map;

public class QshmComparator implements Comparator<Map<String,String>> {

    @Override
    public int compare(Map<String, String> o1, Map<String, String> o2) {
        int o1_qshm =  Integer.valueOf(o1.get("qzhm"));
        int o2_qshm = Integer.valueOf(o2.get("qzhm"));
        return  o1_qshm>o2_qshm?1:( o1_qshm==o2_qshm?0:-1);
    }
}
